package com.eudon.design_pattern.behavioral.observer.event_bus;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * @author eudon
 * @description 使用示例
 * @date 2025/9/2
 * @email syd19970616@gmail.com
 * @address <a href="https://gitee.com/eudon">Gitee</a>
 */
public class Use {
    public static void main(String[] args) throws InvocationTargetException, IllegalAccessException {
        UserController userController = new UserController(List.of(new NewUserExperienceCashObserver()));
        userController.createUser();
    }
}
